import {request} from "../request.js";	
class ResumeHttp{
	constructor(){}
	//获取简历列表
getResume(parmas){
			console.log('parmas',parmas)
			return request({
			    url:`resume/getResumeShowList?pageIndex=${parmas.pageIndex}&pageSize=${parmas.pageSize}&city=${parmas.city}`,
			    method:'GET',
				parmas:""
			})
		}
		//获取个人的简历信息
	getResumeInfo(params) {
	  // 创建查询字符串
	  const queryString = Object.entries(params)
	    .map(([key, value]) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`)
	    .join('&');
	
	  return request({
	    url: 'resume/getResumeInfo?' + queryString,
	    method: 'GET',
	  });
	}
	
	
	}
	export default new ResumeHttp();